//
//  Sr2Model.swift
//  edu
//
//  Created by karlzhou on 15/11/13.
//  Copyright © 2015年 karlzhou. All rights reserved.
//
import ObjectMapper

class IpadPlayAdvInfo : Mappable{

     var  advMidId : String?
    
     var  advPosId : String?
    
     var  advPreId : String?
    
     var  advSource : String?
    
    internal required init?(_ map: Map){
        
    }
    internal func mapping(map: Map){
        advMidId <- map["advMidId"]
        advPosId <- map["advPosId"]
        advPreId <- map["advPreId"]
        advSource <- map["advSource"]
        
    }
    
}

class VideoList : Mappable{
    internal required init?(_ map: Map){
        
    }
    internal func mapping(map: Map){
        adv <- map["adv"]
        repovideourl <- map["repovideourl"]
        title <- map["title"]
        weburl <- map["weburl"]
        repovideourlmp4 <- map["repovideourlmp4"]
        
    }
    
     var  adv : String?
    
     var  advlink : String?
    
     var  commentid : String?
    
     var  imgpath : String?
    
     var  m3u8size : String?
    
     var  m3u8sizeOrigin : String?
    
     var  mid : String?
    
     var  mlength : String?
    
     var  mp4size : String?
    
     var  mp4sizeOrigin : String?
    
     var  pnumber : String?
    
     var  protoVersion : String?
    
     var  repovideourl : String?
    
     var  repovideourlOrigin : String?
    
     var  repovideourlmp4 : String?
    
     var  repovideourlmp4Origin : String?
    
     var subList  : Array<VideoList>?
    
     var  subtitle : String?
    
     var  subtitle_language : String?
    
     var  title : String?
    
     var  weburl : String?
    
    
}


public class Sr2Model : Mappable{
    public required init?(_ map: Map){
        
    }
    public func mapping(map: Map){
        ccPic <- map["ccPic"]
        title <- map["title"]
        description <- map["description"]
        videoList <- map["videoList"]
        
    }
     var  ccPic : String?
    
     var  ccUrl : String?
    
     var  description : String?
    
     var  director : String?
    
     var  hits : String?
    
     var  imgpath : String?
    
     var  include_virtual : String?
    
     var ipadPlayAdvInfo : IpadPlayAdvInfo?
    
     var  largeimgurl : String?
    
     var  ltime : String?
    
     var  midAdvSource : String?
    
     var  opening : String?
    
     var  outurl : String?
    
     var  playcount : String?
    
     var  plid : String?
    
     var  posAdvSource : String?
    
     var  preAdvSource : String?
    
     var  school : String?
    
     var  source : String?
    
     var  subtitle : String?
    
     var  tags : String?
    
     var  title : String?
    
     var  type : String?
    
     var  updated_playcount : String?
    
     var  videoList  : [VideoList] = []
    

    
}
